Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validating for broken index #544

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Validating for broken index #544

merged 2 commits into from
Oct 9, 2024

Conversation

jamesbraza
Copy link
Collaborator

If the files.zip is not present, the index will be empty. Then with an empty index, our environment will complete a rollout with 0% performance.

This PR add a validation to build=False for paper_search that the index actually has files present, preventing silent failures.

@jamesbraza jamesbraza added the bug Something isn't working label Oct 8, 2024
@jamesbraza jamesbraza self-assigned this Oct 8, 2024
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 8, 2024
@dosubot dosubot bot added lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Oct 8, 2024
@jamesbraza jamesbraza force-pushed the validating-nonempty-index branch 5 times, most recently from c4dd18e to 9b285a1 Compare October 9, 2024 04:38
@jamesbraza jamesbraza merged commit 62d4275 into main Oct 9, 2024
5 checks passed
@jamesbraza jamesbraza deleted the validating-nonempty-index branch October 9, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants